package com.qys.livesMall.app.user.model.dto.sys;

import com.qys.livesMall.framework.view.BaseQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;

/**
 * Created by IntelliJ IDEA.
 * User: dp
 * Date: 2023/04/24
 * Time: 15:47
 * DESCRIPTION: 后台管理分页查询用户列表信息
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SysAppUserQueryDTO extends BaseQuery implements Serializable {
    @Serial
    private static final long serialVersionUID = -1L;

    @Schema(description = "手机号", example = "18888888888")
    private String mobile;

    @Schema(description = "用户名", example = "aaa")
    private String userName;

    @Schema(description = "昵称", example = "aaa")
    private String nickName;

    @Schema(description = "ip", example = "127.0.0.1")
    private String ip;

    @Schema(description = "上级id", example = "111")
    private String parentId;

    @Schema(description = "用户类型", example = "0")
    private Integer userType;

    @Schema(description = "来源", example = "0")
    private Integer source;

    @Schema(description = "水军or正常", example = "1")
    private Integer userSysType;

    @Schema(description = "离线时间（1：离线1天，3：离线三天，7：离线7天，15：离线15天）", example = "1")
    private Integer lastLoginTime;
}
